﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Fjaspx.UI.Web.Administrator_tag_tag_Custom" ValidateRequest="false" Codebehind="tag_Custom.aspx.cs" %>

<%@ Register src="../top.ascx" tagname="top_help" tagprefix="uc1" %>


<html>
<head id="Head1" runat="server">
<title></title>
</head>
<link href="/administrator/images/style.css" rel="stylesheet" type="text/css">
<body>
<form id="form1" runat="server">

<uc1:top_help ID="top_help2" runat="server" />
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td>
    
    
    
    
     <fieldset>
    <legend><img name="" src="/administrator/images/bullet_wrench.png" width="16" height="16" alt="">&nbsp;&nbsp;添加公共标签</legend>
    <p>&nbsp;</p>
    <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
      <tr>
        <td width="176" height="25" bgcolor="#DDE9FF">标签名称</td>
        <td bgcolor="#DDE9FF">标签</td>
        <td width="69" bgcolor="#DDE9FF">&nbsp;</td>
        <td width="65" bgcolor="#DDE9FF">&nbsp;</td>
      </tr>
      
      
      
      <asp:Repeater ID="Repeater1" runat="server">

    <ItemTemplate>

  <tr>
        <td height="25" bgcolor="#F4FBFF"><%#Eval("TAG_name") %></td>
        <td bgcolor="#F4FBFF">[SG:<%#Eval("TAG") %>]</td>
        <td bgcolor="#F4FBFF"><a href='edit_tag_Custom.aspx?id=<%#Eval("id") %>'>编辑</a></td>
        <td bgcolor="#F4FBFF"><a href='?id=<%#Eval("id") %>&del=del'onClick="return window.confirm('确定删除吗?');">删除</a></td>
      </tr>
      
    </ItemTemplate>


    </asp:Repeater> 
    
    </table>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="10">
     

    
     
      <tr>
        <td width="9%" align="right">标签名字：</td>
        <td width="91%"><asp:TextBox ID="TextBox_TagName" runat="server" CssClass="input"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="TextBox_TagName" ErrorMessage="请给标签起个名字"></asp:RequiredFieldValidator></td>
      </tr>
      <tr>
        <td align="right">标签：</td>
        <td><asp:TextBox ID="TextBox_tag" runat="server" CssClass="input"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="TextBox_tag" ErrorMessage="请填写自定义标签"></asp:RequiredFieldValidator></td>
      </tr>
      <tr>
        <td align="right">替换内容：</td>
        <td><asp:TextBox ID="TextBox_tag_content" runat="server" TextMode="MultiLine" 
                Height="75px" Width="293px" CssClass="input"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="TextBox_tag_content" ErrorMessage="请填写该自定义标签所要替换的文本"></asp:RequiredFieldValidator></td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td><asp:Button ID="Button_addTag" runat="server" Text="添加自定义标签"  OnClick="Button_addTag_Click" Width="118px" CssClass="bt" /></td>
      </tr>

      
      
      <tr>
        <td colspan="2">
    
        </td>
      </tr>
    </table>
     </fieldset>
    
    
    
    
    </td>
    </tr>
</table>
 
    
   
</form>

</body>
</html>
